<template>
  <div class="container">
    <!-- 轮播图 -->
    <el-carousel :interval="5000" height="450px">
      <el-carousel-item v-for="item in 2" :key="item"></el-carousel-item>
    </el-carousel>
    <!-- 视频介绍 -->
    <div class="introduce">
      <div class="in_header">
        <h1>实验项目介绍</h1>
        <p>
          PROJECT
          <span>VIDEO</span>
        </p>
        <span class="l_line">---------------</span>
        <span class="r_line">---------------</span>
      </div>
      <div class="in_main">
        <div class="video">
          <!-- <video src="./images/video.mov"></video> -->
          <img src="../images/video.png" alt />
          <div class="mask">
            <i class="el-icon-video-play"></i>
            <h1>地层三维建模虚拟仿真实验系统</h1>
          </div>
        </div>
        <div class="detail">
          <div class="row1">
            <h1>实验视频</h1>
          </div>
          <div class="row2">
            <div class="column1">
              <p>
                所属分类：
                <span>测绘</span>
              </p>
            </div>
            <div class="column2">
              <p>
                实验学时：
                <span>2</span>
              </p>
            </div>
            <div class="column3">
              <p>
                实验操作步骤：
                <span>12</span>
              </p>
            </div>
          </div>
          <div class="row3">
            <div class="column1">
              <p>
                实验项目负责人：
                <span>李斌</span>
              </p>
            </div>
            <div class="column2">
              <p>
                联系电话：
                <span>1862908287</span>
              </p>
            </div>
          </div>
          <div class="row4">
            <div class="column1">
              <p>实验简介：</p>
            </div>
            <div class="column2">
              <span>构造地质学是地质学、地质工程、资源勘查工程专业不可缺少的教学内容，而图纸的实验地质构造研判抽象、不直观。固借助“虚拟仿真（现实）技术”再现、模拟、分析地质地层结构、形态及其特征，达成效率高、可重复、易再现的实验目的。</span>
            </div>
          </div>
          <div class="row5">
            <el-row>
              <el-button type="primary" round>开始实验</el-button>
            </el-row>
          </div>
        </div>
      </div>
    </div>
    <!-- 相关信息 -->
    <div class="info">
      <div class="in_header">
        <h1>实验项目相关信息</h1>
        <p>
          ITEM
          <span>INFORMATION</span>
        </p>
        <span class="l_line">---------------</span>
        <span class="r_line">---------------</span>
      </div>
      <div class="in_footer">
        <ul class="mui-table-view mui-grid-view mui-grid-9">
          <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
            <a href="#">
              <span class="mui-icon el-icon-document-copy"></span>
              <div style="margin-top:8px;">实验目的</div>
            </a>
          </li>
          <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
            <a href="#">
              <span class="mui-icon el-icon-edit"></span>
              <div style="margin-top:8px;">实验原理</div>
            </a>
          </li>
          <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
            <a href="#">
              <span class="mui-icon el-icon-c-scale-to-original"></span>
              <div style="margin-top:8px;">实验仪器设备</div>
            </a>
          </li>
          <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
            <a href="#">
              <span class="mui-icon el-icon-guide"></span>
              <div style="margin-top:8px;">实验材料</div>
            </a>
          </li>
          <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
            <a href="#">
              <span class="mui-icon el-icon-view"></span>
              <div style="margin-top:8px;">实验教学方法</div>
            </a>
          </li>
          <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
            <a href="#">
              <span class="mui-icon el-icon-document"></span>
              <div style="margin-top:8px;">实验方法与步骤要求</div>
            </a>
          </li>
          <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
            <a href="#">
              <span class="mui-icon el-icon-coin"></span>
              <div style="margin-top:8px;">实验结构与结论要求</div>
            </a>
          </li>
          <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
            <a href="#">
              <span class="mui-icon el-icon-folder-checked"></span>
              <div style="margin-top:8px;">考核要求</div>
            </a>
          </li>
          <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
            <a href="#">
              <span class="mui-icon el-icon-finished"></span>
              <div style="margin-top:8px;">面向学生要求</div>
            </a>
          </li>
          <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
            <a href="#">
              <span class="mui-icon el-icon-notebook-2"></span>
              <div style="margin-top:8px;">实验项目应用情况</div>
            </a>
          </li>
        </ul>
      </div>
    </div>
    <!-- 共享情况 -->
    <div class="situation">
      <div class="in_header">
        <h1>实验项目共享情况</h1>
        <p>
          SHARE THE
          <span>SITUATION</span>
        </p>
        <span class="l_line">---------------</span>
        <span class="r_line">---------------</span>
      </div>
      <div class="situ_main">
        <div id="chart">
          <v-chart class="my-chart" :options="line" />
        </div>
        <div class="show">
          <div class="v_first">
            <div class="box">
              <span>2865</span>
            </div>
            <p>使用量</p>
          </div>
          <div class="v_second">
            <div class="box">
              <span>3754</span>
            </div>
            <p>浏览量</p>
          </div>
        </div>
      </div>
    </div>
    <!-- 教师团队 -->
    <div class="teacher">
      <div class="reward">
        <div class="top">
          <p>TEACHING SERVICE</p>
          <span>TEAM</span>
          <div class="bar"></div>
          <h1>实验教学服务团队</h1>
        </div>
        <div class="bottom">
          <p>基于风三卫星数据的荒漠化-积雪演变响应参数空间制图研究，中国气象局子项目，负责人。</p>
          <p>地质工程专业人才“三位一体”系统培养模式研究与实践，长安大学教学成果一等奖，2004。</p>
          <p>长安大学地质工程教学实习基地建设的研究与实践，长安大学教学成果二等奖，2009。</p>
        </div>
      </div>
      <div class="photos">
        <div class="p_top">
          <div>
            <router-link to="/teachers/principal">
              <img src="../images/libin.jpg" alt />
            </router-link>
            <!-- <router-link to="/teachers/principal">查看介绍</router-link> -->
            <h1>李斌</h1>
            <p>副教授</p>
          </div>
          <div>
            <a href="#">
              <img src="../images/sushngrui.jpg" alt />
            </a>
            <h1>苏生瑞</h1>
            <p>教授</p>
          </div>
        </div>
        <div class="p_top">
          <div>
            <a href="#">
              <img src="../images/sushngrui.jpg" alt />
            </a>
            <h1>杨耘</h1>
            <p>副教授</p>
          </div>
          <div>
            <a href="#">
              <img src="../images/sushngrui.jpg" alt />
            </a>
            <h1>邓龙胜</h1>
            <p>副教授</p>
          </div>
        </div>
      </div>
    </div>

    <!-- 网络相关要求 -->
    <div class="request">
      <div class="in_header">
        <h1>网络相关要求</h1>
        <p>
          NETWORK
          <span>REQUIREMENTS</span>
        </p>
        <span class="l_line">---------------</span>
        <span class="r_line">---------------</span>
      </div>
      <div class="re_footer">
        <ul class="mui-table-view mui-grid-view mui-grid-9">
          <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
            <a href="#">
              <span class="mui-icon el-icon-paperclip"></span>
              <div style="margin-top:12px;">有效链接网址</div>
            </a>
          </li>
          <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
            <a href="#">
              <span class="mui-icon el-icon-phone-outline"></span>
              <div style="margin-top:12px;">网络条件要求</div>
            </a>
          </li>
          <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
            <a href="#">
              <span class="mui-icon el-icon-setting"></span>
              <div style="margin-top:12px;">用户操作系统要求</div>
            </a>
          </li>
          <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
            <a href="#">
              <span class="mui-icon el-icon-attract"></span>
              <div style="margin-top:12px;">用户非操作系统软件配置要求</div>
            </a>
          </li>
          <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
            <a href="#">
              <span class="mui-icon el-icon-s-operation"></span>
              <div style="margin-top:12px;">用户硬件配置要求</div>
            </a>
          </li>
          <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
            <a href="#">
              <span class="mui-icon el-icon-help"></span>
              <div style="margin-top:12px;">用户特殊外置硬件要求</div>
            </a>
          </li>
        </ul>
      </div>
    </div>

    <!-- 最后一部分 -->
    <div class="lastPart">
      <div class="la_main">
        <div class="la_first">
          <h1>项目架构及研发技术</h1>
          <a href="#">系统架构图及简要说明</a>
          <a href="#">实验教学项目</a>
          <a href="#">管理平台</a>
        </div>
        <div class="la_first">
          <h1>实验教学项目特色</h1>
          <a href="#">教学理念</a>
          <a href="#">实验方案设计思路</a>
          <a href="#">教学方法</a>
        </div>
        <div class="la_first">
          <h1>持续建设服务计划</h1>
          <a href="#">持续建设与更新</a>
          <a href="#">面向高校的教学推广应用</a>
          <a href="#">面向社会的推广与持续服务...</a>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
import ECharts from "vue-echarts/components/ECharts";
import "echarts/lib/chart/line";
import "echarts/lib/component/tooltip";
import "echarts/lib/component/legend";
export default {
  data() {
    return {
      line: {
        tooltip: {
          trigger: "axis"
        },
        legend: {
          data: ["实验项目使用量", "实验项目浏览量"],
          show: true
          // left:'50px'
        },
        grid: {
          left: "3%",
          right: "4%",
          bottom: "3%",
          containLabel: true
        },
        xAxis: {
          type: "category",
          boundaryGap: false,
          data: ["7-07", "7-08", "7-09", "7-10", "7-11", "7-12", "7-13"]
        },
        yAxis: {
          type: "value",
          splitLine: { show: false }
        },
        series: [
          {
            name: "实验项目使用量",
            type: "line",
            data: [30, 25, 30, 27, 26, 23, 28],
            smooth: true
          },
          {
            name: "实验项目浏览量",
            type: "line",
            data: [35, 28, 33, 35, 29, 32, 37],
            smooth: true
          }
        ]
      }
    };
  },
  components: {
    "v-chart": ECharts
  }
};
</script>
<style lang="less" scoped>
.container {
  .mui-h1,
  h1 {
    font-size: 24px;
  }
  // 轮播图
  .el-carousel__item:nth-child(2n) {
    background-color: #99a9bf;
    background: url(../images/lunbotu1.png) no-repeat center;
    background-size: cover;
  }

  .el-carousel__item:nth-child(2n + 1) {
    background-color: #d3dce6;
    background: url(../images/lunbotu2.png) no-repeat;
    background-size: cover;
  }

  .in_header {
    height: 70px;
    text-align: center;
    background-color: #fff;
    box-sizing: border-box;
    position: relative;
    h1 {
      margin: 15px 0 5px;
      color: #409eff;
    }
    p {
      margin: 0;
      color: #99a9bf;
      span {
        color: #409eff;
      }
    }
    span {
      color: #ccc;
    }
    .l_line {
      position: absolute;
      right: 55.5%;
      top: 5px;
    }
    .r_line {
      position: absolute;
      left: 55.5%;
      top: 5px;
    }
  }
  // 视频简介
  .introduce {
    margin-top: 15px;
    height: 450px;
    .in_main {
      height: 380px;
      padding: 0 150px;
      display: flex;
      justify-content: space-between;
      .video {
        position: relative;
        img {
          width: 550px;
          height: 320px;
        }
        .mask {
          width: 550px;
          height: 320px;
          background: rgba(235, 238, 245, 0.5);
          position: absolute;
          top: 0;
          cursor: pointer;
          .el-icon-video-play {
            font-size: 100px;
            color: #ebeef5;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
          }
          h1 {
            color: #eee;
            position: absolute;
            text-shadow: 0 1px 3px #000;
            left: 115px;
            top: 220px;
          }
        }
      }
      .detail {
        width: 550px;
        height: 380px;
        .row1 {
          h1 {
            margin: 0 0 25px;
            color: #595757;
          }
        }
        .row2 {
          .column1 {
            float: left;
            width: 180px;
            p {
              color: #409eff;
              margin: 16px 0;
              span {
                color: #727171;
              }
            }
          }
          .column2 {
            float: left;
            width: 180px;
            p {
              color: #409eff;
              margin: 16px 0;
              span {
                color: #727171;
              }
            }
          }
          .column3 {
            float: left;
            width: 180px;
            p {
              color: #409eff;
              margin: 16px 0;
              span {
                color: #727171;
              }
            }
          }
        }
        .row3 {
          .column1 {
            float: left;
            width: 182px;
            p {
              color: #409eff;
              margin: 16px 0;
              span {
                color: #727171;
              }
            }
          }
          .column2 {
            float: left;
            width: 300px;
            p {
              color: #409eff;
              margin: 16px 0;
              span {
                color: #727171;
              }
            }
          }
        }
        .row4 {
          .column1 {
            float: left;
            width: 82px;
            p {
              color: #409eff;
              margin: 16px 0;
            }
          }
          .column2 {
            float: left;
            width: 468px;
            span {
              display: inline-block;
              margin-top: 11px;
              line-height: 32px;
              color: #727171;
            }
          }
        }
        .row5 {
          .el-button {
            margin: 10px 0 0;
          }
        }
      }
    }
  }
  // 相关信息
  .info {
    height: 325px;
    .in_header {
      .l_line {
        position: absolute;
        right: 57.5%;
        top: 5px;
      }
      .r_line {
        position: absolute;
        left: 57.5%;
        top: 5px;
      }
    }
    .in_footer {
      height: 255px;
      padding: 0 150px;
      .mui-grid-view.mui-grid-9 {
        width: 100%;
        margin: 0;
        padding: 0;
        border: none;
        background-color: transparent;
      }
      .mui-grid-view.mui-grid-9 .mui-table-view-cell {
        margin: 0;
        padding: 15px 15px;
        vertical-align: top;
        border: none;
      }
      @media (min-width: 400px) {
        .mui-col-sm-3 {
          width: 20%;
        }
      }
      .mui-table-view-cell a:hover {
        color: #409eff;
      }
    }
  }
  //共享情况
  .situation {
    height: 450px;
    .in_header {
      .l_line {
        position: absolute;
        right: 57.5%;
        top: 5px;
      }
      .r_line {
        position: absolute;
        left: 57.5%;
        top: 5px;
      }
    }
    .situ_main {
      height: 350px;
      //background-color: #333;
      padding: 0 150px;
      box-sizing: border-box;
      display: flex;
      justify-content: space-between;
      .my-chart {
        width: 700px;
        height: 100%;
      }
      .show {
        width: 320px;
        height: 100%;
        margin-right: 50px;
        display: flex;
        justify-content: space-between;
        .box {
          box-sizing: border-box;
          width: 120px;
          height: 120px;
          background-color: #fff;
          border-radius: 50%;
          border: 2px dashed #c23531;
          position: absolute;
          left: 50%;
          transform: translateX(-50%);
          span {
            font-size: 26px;
            font-weight: bold;
            color: #c23531;
            display: block;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: 50px;
          }
        }
        p {
          color: #333;
          position: absolute;
          left: 50%;
          transform: translateX(-50%);
          top: 250px;
        }
        .v_first {
          height: 100%;
          width: 1600px;
          //background-color: green;
          box-sizing: border-box;
          padding-top: 100px;
          position: relative;
        }
        .v_second {
          height: 100%;
          width: 1600px;
          box-sizing: border-box;
          padding-top: 100px;
          position: relative;
          .box {
            border: 2px dashed #2f4554;
            span {
              color: #2f4554;
            }
          }
        }
      }
    }
  }
  //教师团队
  .teacher {
    height: 550px;
    background-color: #efefef;
    padding: 0 150px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    .reward {
      height: 100%;
      width: 500px;
      box-sizing: border-box;
      padding: 100px 10px 0 50px;
      .top {
        p {
          color: #99a9bf;
          font-size: 24px;
        }
        span {
          color: #409eff;
          font-size: 24px;
        }
        .bar {
          width: 2px;
          height: 35px;
          background-color: #99a9bf;
          margin-top: 10px;
        }
        h1 {
          margin: 10px 0;
          color: #409eff;
        }
      }
      .bottom {
        p {
          line-height: 30px;
          font-size: 16px;
        }
      }
    }
    .photos {
      height: 100%;
      width: 700px;
      padding: 25px;
      box-sizing: border-box;
      .p_top {
        display: flex;
        justify-content: space-around;
        padding: 0 75px;
        box-sizing: border-box;
        div {
          width: 236px;
          height: 236px;
          margin-top: 8px;
          position: relative;
          img {
            width: 100%;
            height: 100%;
          }
          h1 {
            color: transparent;
            font-size: 22px;
            font-weight: normal;
            position: absolute;
            top: 170px;
            left: 50%;
            transform: translateX(-50%);
          }
          p {
            color: transparent;
            position: absolute;
            top: 210px;
            left: 50%;
            transform: translateX(-50%);
          }
        }
        div:hover {
          border: 2px solid #409eff;
        }
        div:hover h1 {
         color: #409eff;
        }
        div:hover p {
         color: #409eff;
        }
      }
    }
  }
  //网络相关要求
  .request {
    height: 380px;
    width: 100%;
    margin-bottom: 50px;
    .re_footer {
      height: 310px;
      // width: 100%;
      padding: 0 154px;
      box-sizing: border-box;
      //background-color: #c23531;
      .mui-grid-view.mui-grid-9 {
        background-color: #fff;
      }
      @media (min-width: 400px) {
        .mui-col-sm-3 {
          width: 33.33%;
        }
      }
      .mui-grid-view.mui-grid-9 .mui-table-view-cell > a:not(.mui-btn) {
        padding: 15px 0;
      }
      .mui-grid-view.mui-grid-9 .mui-media .mui-icon {
        font-size: 3em;
        font-weight: lighter;
        position: relative;
      }
      .mui-table-view.mui-grid-view .mui-table-view-cell .mui-media-body {
        font-size: 18px;
        margin-top: 13px;
      }
      .mui-grid-view.mui-grid-9 .mui-table-view-cell {
        padding: 20px 15px;
      }
      ul li:hover {
        color: #fff;
        background-color: #409eff;
        border: 1px solid #ccc;
      }
      ul li:hover a {
        border: 1px solid #fff;
      }
    }
  }
  .lastPart {
    background: url("../images/lastpart.jpg") no-repeat;
    background-size: cover;
    height: 380px;
    margin: 0 150px 50px;
    .la_main {
      width: 100%;
      height: 100%;
      background: rgba(239, 239, 239, 0.5);
      padding: 50px 120px;
      box-sizing: border-box;
      display: flex;
      justify-content: space-between;
      .la_first {
       // text-align: center;
        h1 {
          line-height: 80px;
        }
        a {
          display: block;
          height: 40px;
          line-height: 40px;
          font-size: 18px;
          //font-family: "å¾®è½¯é›…é»‘";
          color: #595757;
        }
        a:hover {
          color: #409eff;
        }
      }
    }
  }
}
</style>


